package com.spring4a.stereo_xmlconfig.soundsystem.collections;

import com.spring4a.stereo_javaconfig.soundsystem.CompactDisc;

import java.util.List;
import java.util.Set;


public class BlankDiscList implements CompactDisc {

  private String title;
  private String artist;
  private List<String> tracks;
  private Set<String> trackSet;

  public BlankDiscList(String title, String artist, List<String> tracks, Set<String> trackSet) {
    this.title = title;
    this.artist = artist;
    this.tracks = tracks;
    this.trackSet = trackSet;
  }

  public void play() {
    System.out.println("Playing " + title + " by " + artist);
    for (String track : tracks) {

      System.out.println("-Track: " + track + "-----trackSet: " + trackSet.size());
    }
  }

}
